<template>
    <div>

        <u-empty mode="list" text="暂无缴费记录" v-if="!list.length">
        </u-empty>
    </div>
</template>

<script>
import { getUserInfo, hierarchyFees } from '../../request/index'
export default {
    data() {
        return {
            list: [],
        }
    },
    onLoad() {
        getUserInfo({ uid: uni.getStorageSync('userid') }).then(res => {
            console.log(res);
            if (res.data.status == 1) {
                hierarchyFees({ card: res.data.info.card }).then(res => {
                    console.log(res);
                    if (res.data.status) {

                    } else {
                        this.list = [];
                    }
                })
            }
        })

    },
    methods: {

    }
}
</script>

<style lang="scss">

</style>